package com.zhiyou100.service;

import com.zhiyou100.mapper.LogMapper;
import com.zhiyou100.model.Log;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LogService {
    @Autowired
    LogMapper mapper;
    public  int addLog(Log log) {
       int i =  mapper.addLog(log);
        return i;
    }
}
